<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/menuAplicacionCompania.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditTblbancosTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
<<<<<<< .mine


            <h:form>

                 <p:panel id="panel" header="#{bundle.EditTblbancosTitle}">  
                <p:messages id="msgs"/> 
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.EditTblbancosLabel_codBanco}" for="codBanco" />
                    <h:outputLabel id="codBanco" value="#{tblbancosController.selected.codBanco}" title="#{bundle.EditTblbancosTitle_codBanco}"/>
                    <h:outputLabel value="#{bundle.EditTblbancosLabel_nomBanco}" for="nomBanco" />
                    <p:inputText id="nomBanco" value="#{tblbancosController.selected.nomBanco}" title="#{bundle.EditTblbancosTitle_nomBanco}" required="true" requiredMessage="#{bundle.EditTblbancosRequiredMessage_nomBanco}"/>
                    <h:outputLabel value="#{bundle.EditTblbancosLabel_codSap}" for="codSap" />
                    <p:inputText id="codSap" value="#{tblbancosController.selected.codSap}" title="#{bundle.EditTblbancosTitle_codSap}" />
                  
                </h:panelGrid>
                <p:commandButton action="#{tblbancosController.update}" update="panel" value="#{bundle.EditTblbancosSaveLink}"/>
        
                <p:commandButton action="#{tblbancosController.prepareList}" value="#{bundle.EditTblbancosShowAllLink}" immediate="true"/>
               
                </p:panel>

            </h:form>
        </ui:define>
    </ui:composition>

</html>
